package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Category;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DishService {

    PageResult queryDishPage(DishPageQueryDTO dishPageQueryDTO);

    DishVO queryCategoryById(long id);

    void insetDish(DishDTO dishDTO);

    Result deleteDish(List<Long> ids);

    Result updateDish(DishVO vo);

    void changeStatusById(Long id,Integer status);
}
